<template>
	<ff-window title="图标">
		<ff-grid columns="repeat(4, 1fr)" bgColor="#ffffff">
			<ff-grid-item v-for="(item, index) in $ff.config.icon">
				<view class="icon-item">
					<ff-icon :name="index" size="20px"></ff-icon>
					<ff-margin value="5px"></ff-margin>
					<view>{{item.label}}</view>
				</view>
			</ff-grid-item>
		</ff-grid>
	</ff-window>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.icon-item {
		display: flex;
		justify-content: center;
		align-items: center;
		align-content: center;
		flex-direction: column;
		font-size: 15px;
	}
</style>